﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Remoting.Messaging;

namespace AAA.MQ
{
    public interface IMQClient
    {
        string QueueName { get; set; }
        bool Connect();
        bool Disconnect();
        bool Send(IMessage message);
        List<IMessage> Peek(string strStaement);
        List<IMessage> Receive(string strStaement);
        bool Delete();
    }
}
